package cn.wmw.xyy.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class RegisterPhoneDto {
    // 注册手机号
    @NotEmpty(message = "手机号不能为空")
    private String mobile;
    // 验证码
    @NotEmpty(message = "图形验证码不能为空")
    private String imageCodeValue;
    // redis key值 uuid
    @NotEmpty(message = "图形验证码已过期")
    private String imageCodeKey;

}
